home *** CD-ROM | disk | FTP | other *** search
/ Safarir 3 / SafTV-CD3.iso / pc / Bonus / Dessins Animés / static / jeux / napman.swf / scripts / frame_325 / DoAction.as
Text File  |  2001-11-21  |  717b  |  49 lines

  1. if("9999" < score and newlife == "0")
  2. {
  3.    newlife = "1";
  4.    lives += "1";
  5.    tellTarget("/suoni")
  6.    {
  7.       gotoAndStop("bonus");
  8.    }
  9. }
  10. if(status == "1")
  11. {
  12.    timer -= "1";
  13.    if(timer == "0")
  14.    {
  15.       status = "0";
  16.    }
  17. }
  18. if(bonus == "1")
  19. {
  20.    timerbonus -= "1";
  21.    if(timerbonus == "0")
  22.    {
  23.       bonus = "2";
  24.       setProperty("/bonus", _visible, "0");
  25.    }
  26. }
  27. if(punti == "0")
  28. {
  29.    tellTarget("/suoni")
  30.    {
  31.       gotoAndStop("level");
  32.       play();
  33.    }
  34.    gotoAndPlay(336);
  35. }
  36. if(gameover == "1")
  37. {
  38.    tellTarget("/suoni")
  39.    {
  40.       gotoAndStop("morte");
  41.       play();
  42.    }
  43.    gotoAndPlay(345);
  44. }
  45. if(gameover == "0" and "0" < punti)
  46. {
  47.    gotoAndPlay(324);
  48. }
  49.